// 这是一种注释方法
/* 这是另一种
 *  注释方法
 *  可以换行
 */

// 这是一个 int 类型变量
int led_1 = 0;
int led_2 = 1;

boolean   status_on   = true;
char      input_char  = 'A';    // 8-bit signed
unsigned char input_uchar = 255;// 8-bit unsigned
byte      input_byte  = 255;    // 8-bit unsigned
int       input_int   = -32768; // 16-bit signed
word      input_word  = 65535;  // 16-bit unsigned
long      input_long  = -2147483648; // 32-bit signed
unsigned long input_ul= 4294967295;  // 32-bit unsigned
float     input_float = 1.23456; // 32-bit signed float
double    input_double = 1.2345; // 32-bit signed float
// string
char      str1[15];
char      str2[8] = { 'a', 'r', 'd', 'u', 'i', 'n', 'o' };
char      str3[8] = { 'a', 'r', 'd', 'u', 'i', 'n', 'o', '\0' };
char      str4[]  = "arduino";
char      str5[8] = "arduino";
char      str6[15] = "arduino";
// array
int array_ints[6];
int P[] = { 2, 4, 6, 8, 10 };
char msg[] = "Hallo";

// constant
#define BAT_FULL 100
#define MASK_REG B00001111
#define HEX_MASK 0xFF

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
